package me.lwn.auth.infrastructure.repository;

import me.lwn.auth.common.crud.BaseRepository;
import me.lwn.auth.domain.User;
import org.springframework.stereotype.Repository;

@Repository
public interface UserRepository extends BaseRepository<User, String> {

    User getByUsername(String username);

    User getByMobile(String mobile);
}